package com.simple.datax.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "DATAX_FLOW")
public class DataxFlowVO implements Serializable{


	/**
	 * 
	 */
	private static final long serialVersionUID = -7388519373140515031L;

	@EmbeddedId
    private DataxFlowIdVO id;
	
	@Column(name = "BUSINESS_TYPE")
	private String businessType;
	
	@Column(name = "FLOW_NAME")
	private String flowName;

	@Column(name = "NOTES")
	private String notes;
	
	@Column(name = "CREATTIME")
	private Date creatTime;

	@Column(name = "USER_ID")
	private String userId;
	
	@Column(name = "E_CODE")
	private String eCode;

	@Column(name = "ORIGINATE_COP")
	private String originateCop;
	
	@Column(name = "STATUS")
	private BigDecimal status;

	public DataxFlowIdVO getId() {
		return id;
	}

	public void setId(DataxFlowIdVO id) {
		this.id = id;
	}

	public String getBusinessType() {
		return businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	public String getFlowName() {
		return flowName;
	}

	public void setFlowName(String flowName) {
		this.flowName = flowName;
	}

	public String getNotes() {
		return notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}

	public Date getCreatTime() {
		return creatTime;
	}

	public void setCreatTime(Date creatTime) {
		this.creatTime = creatTime;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String geteCode() {
		return eCode;
	}

	public void seteCode(String eCode) {
		this.eCode = eCode;
	}

	public String getOriginateCop() {
		return originateCop;
	}

	public void setOriginateCop(String originateCop) {
		this.originateCop = originateCop;
	}

	public BigDecimal getStatus() {
		return status;
	}

	public void setStatus(BigDecimal status) {
		this.status = status;
	}

}
